package cn.iocoder.yudao.module.dt.convert.activityadmin;

import java.util.*;

import cn.iocoder.yudao.framework.common.pojo.PageResult;

import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;
import cn.iocoder.yudao.module.dt.controller.admin.activityadmin.vo.*;
import cn.iocoder.yudao.module.dt.dal.dataobject.activityadmin.ActivityAdminDO;

/**
 * 活动管理员表，用作核销等权限 Convert
 *
 * @author 芋道源码
 */
@Mapper
public interface ActivityAdminConvert {

    ActivityAdminConvert INSTANCE = Mappers.getMapper(ActivityAdminConvert.class);

    ActivityAdminDO convert(ActivityAdminCreateReqVO bean);

    ActivityAdminDO convert(ActivityAdminUpdateReqVO bean);

    ActivityAdminRespVO convert(ActivityAdminDO bean);

    List<ActivityAdminRespVO> convertList(List<ActivityAdminDO> list);

    PageResult<ActivityAdminRespVO> convertPage(PageResult<ActivityAdminDO> page);

    List<ActivityAdminExcelVO> convertList02(List<ActivityAdminDO> list);

}
